package com.ruoyi.pingjiao.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评教管理对象 evaluation
 * 
 * @author 胡浩鹏
 * @date 2022-10-22
 */
public class Evaluation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评教任务id */
    private Long evaluationId;

    /** 评教活动id */
    @Excel(name = "评教活动id")
    private Long evaluationActivityId;

    /** 评教问卷id */
    @Excel(name = "评教问卷id")
    private Long evaluationPaperId;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 上课班级id */
    @Excel(name = "上课班级id")
    private Long courseclassId;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 总分 */
    @Excel(name = "总分")
    private String sumScore;

    /** 完成状态 */
    @Excel(name = "完成状态")
    private String state;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date generateTime;

    private EvalutionActivity evalutionActivity;

    private EvaluationPaper evaluationPaper;

    private Courseclass courseclass;

    private Teacher teacher;

    private Student student;

    /** 是否删除 */
    private String delFlag;

    public void setEvaluationId(Long evaluationId) 
    {
        this.evaluationId = evaluationId;
    }

    public Long getEvaluationId() 
    {
        return evaluationId;
    }
    public void setEvaluationActivityId(Long evaluationActivityId) 
    {
        this.evaluationActivityId = evaluationActivityId;
    }

    public Long getEvaluationActivityId() 
    {
        return evaluationActivityId;
    }
    public void setEvaluationPaperId(Long evaluationPaperId) 
    {
        this.evaluationPaperId = evaluationPaperId;
    }

    public Long getEvaluationPaperId() 
    {
        return evaluationPaperId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setCourseclassId(Long courseclassId) 
    {
        this.courseclassId = courseclassId;
    }

    public Long getCourseclassId() 
    {
        return courseclassId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSumScore(String sumScore) 
    {
        this.sumScore = sumScore;
    }

    public String getSumScore() 
    {
        return sumScore;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setGenerateTime(Date generateTime) 
    {
        this.generateTime = generateTime;
    }

    public Date getGenerateTime() 
    {
        return generateTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public EvalutionActivity getEvalutionActivity() {
        return evalutionActivity;
    }

    public void setEvalutionActivity(EvalutionActivity evalutionActivity) {
        this.evalutionActivity = evalutionActivity;
    }

    public EvaluationPaper getEvaluationPaper() {
        return evaluationPaper;
    }

    public void setEvaluationPaper(EvaluationPaper evaluationPaper) {
        this.evaluationPaper = evaluationPaper;
    }

    public Courseclass getCourseclass() {
        return courseclass;
    }

    public void setCourseclass(Courseclass courseclass) {
        this.courseclass = courseclass;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evaluationId", getEvaluationId())
            .append("evaluationActivityId", getEvaluationActivityId())
            .append("evaluationPaperId", getEvaluationPaperId())
            .append("teacherId", getTeacherId())
            .append("courseclassId", getCourseclassId())
            .append("studentId", getStudentId())
            .append("status", getStatus())
            .append("sumScore", getSumScore())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("generateTime", getGenerateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
